<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row ">
        <div class="col-sm-2"> 
            <input type="text" class="form-control" ng-model="searchform.user_nickname" placeholder="用户昵称">
        </div>
        <div class="col-sm-2"> 
            <input type="text" class="form-control" ng-model="searchform.mobile" placeholder="用户电话">
        </div>
        <div class="col-sm-2"> 
            <input type="text" class="form-control" ng-model="searchform.platform_order" placeholder="平台订单号">
        </div>
        <div class="col-sm-3">
            <div class="input-group" datetimepicker ng-model="vm.date" options="vm.options">
                <input class="form-control" />
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
            
        </div>
        <div class="col-sm-3 ">
            <div class="input-group" datetimepicker ng-model="vm1.date" options="vm1.options">
                <input class="form-control"/>
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
        </div>  

    </div>

    <div class="row mt10">
        <div class="col-sm-2"> 
            <input type="text" class="form-control" ng-model="searchform.sk_order" placeholder="商客订单号">
        </div>
        <div class="col-sm-2">
            <ui-select ng-model="searchform.pay_status" theme="bootstrap" >
                <ui-select-match placeholder="请选择支付状态">
                    {{$select.selected.label}}
                </ui-select-match>
                <ui-select-choices repeat="pay_statuslist.value as pay_statuslist in payment_statusarr | filter: $select.search">
                    <span ng-bind-html="pay_statuslist.label | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
        
        <div class="col-sm-offset-6 col-sm-2">
			<button type="submit" class="btn btn-info search  btn-block" ng-click="load()">立即搜索</button>
		</div>
        
    </div>

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="text-center col-md-1">用户头像</th>
                    <th class="text-center col-md-1">用户昵称</th>
                    <th class="text-center col-md-1">用户电话</th>
                    <th class="text-center col-md-1">平台订单号</th>
                    <th class="text-center col-md-2">商客订单号</th>
                    <th class="text-center col-md-1">购买时间</th>
                    <th class="text-center col-md-1">支付金额</th>
                    <th class="text-center col-md-1">消费积分</th>
                    <th class="text-center col-md-1">支付状态</th>
                    <th class="text-center col-md-1">所属二级</th>
                    <th class="text-center col-md-1">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center col-md-1">
                        <img ng-src="{{obj.user_photo}}" class="img-responsive" style="border-radius:100%">
                    </td>
                    <td class="text-center"><br>{{obj.user_nickname}}</td>
                    <td class="text-center"><br>{{obj.mobile}}</td>
                    <td class="text-center"><br>{{obj.platform_order}}</td>
                    <td class="text-center"><br>{{obj.sk_order}}</td>
                    <td class="text-center" style="width:20">{{obj.pay_time}}</td>
                    <td class="text-center"><br>{{obj.order_price/100 | currency : '￥'}}</td>
                    <td class="text-center"><br>{{obj.total_integral}}</td>
                    <td class="text-center" ng-show="obj.pay_status=='0'"><br>未支付</td>
                    <td class="text-center" ng-show="obj.pay_status=='1'"><br>已支付</td>
                    <td class="text-center"><br>{{obj.login_name}}</td>
                    <td class="text-center">
                    	<a ng-click="orderinfo(obj)" class="btn btn-primary btn-xs">详情</a>
                    </td>

                </tr>
                </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>



     

